package com.lrkj.payfee.domain;

import com.lrkj.common.annotation.Excel;
import com.lrkj.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 收费项目对象 tb_charge_item
 *
 * @author yajun_ren
 * @date 2021-07-26
 */
@Data
public class ChargeItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 收费id */
    private String chargeId;

    /** 代码 */
    @Excel(name = "代码")
    private String chargeCode;

    /** 名称 */
    @Excel(name = "名称")
    private String chargeName;

    /** 费用项目类型 */
    @Excel(name = "费用项目类型")
    private String projectId;

    /** 仪表种类 */
    @Excel(name = "仪表种类")
    private String instrumentKind;

    /** 说明 */
    @Excel(name = "说明")
    private String explains;

    /** 所属物业 */
    @Excel(name = "所属物业")
    private String deptId;

    //项目类型
    private String projectType;

    //物业公司
    private String deptName;

    //项目查询条件
    private String projectIdIN;

    private String kindName;

    //收费项目类别
    private String payfeeProjectType;

    //对应应付
    private String relevancePayable;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("chargeId", getChargeId())
            .append("chargeCode", getChargeCode())
            .append("chargeName", getChargeName())
            .append("projectId", getProjectId())
            .append("instrumentKind", getInstrumentKind())
            .append("explains", getExplains())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
